
import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Axios from "axios"
import './assets/all.css'

Vue.use(ElementUI);
Vue.config.productionTip = true;

//将axios挂载到原型上
Vue.prototype.$axios = Axios;
 
//配置全局的axios默认值（可选）
 
//axios.defaults.baseURL = 'https://api.example.com';
//axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
//axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app');
